package com.zc.basic.domain.dto;

import com.zc.basic.domain.pojo.PcmcMenu;
import com.zc.basic.domain.pojo.PcmcRole;

import java.util.List;

public class MenuDto extends PcmcMenu {

    private List<PcmcRole> roles;

    private List<MenuDto> children;

    public List<PcmcRole> getRoles() {
        return roles;
    }

    public void setRoles(List<PcmcRole> roles) {
        this.roles = roles;
    }

    public List<MenuDto> getChildren() {
        return children;
    }

    public void setChildren(List<MenuDto> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "MenuDto{" +
                "roles=" + roles +
                ", children=" + children +
                '}';
    }
}
